package com.yang.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * @Author 杨天可
 * @Date 2021/3/15 11:51
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
@Table(name = "tb_performance_rules")
public class PerformanceRules implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    private Integer id;

    @Column(name = "startwork_time")
    private String startWorkTime;

    @Column(name = "endwork_time")
    private String endWorkTime;

    @Column(name = "late_money")
    private Integer lateMoney;

    @Column(name = "absent_money")
    private Integer absentMoney;

    @Column(name = "fullattendance_money")
    private  Integer fullAttendanceMoney;

}
